package com.wanho.java157.PersonalOffice.service.impl;

import com.wanho.java157.PersonalOffice.service.IndividualTaskService;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.test.context.ContextConfiguration;
import org.springframework.test.context.junit4.SpringRunner;

import static org.junit.Assert.*;
@RunWith(SpringRunner.class)
@ContextConfiguration("classpath:spring/applicationContext.xml")
public class IndividualTaskServiceImplTest {
@Autowired
private IndividualTaskService individualTaskService;
    @Test
    public void selectAll() {
        individualTaskService.selectAll().forEach(System.out::println);
    }
}